package com.palm.vue.integration;

import com.inet.lib.less.Less;

public class LessHandler  extends ResourceTransformHandler {
    @Override
    protected String suffix() {
        return "css";
    }
    @Override
    protected String toSuffix() {
        return "less";
    }
    @Override
    protected String contentType() {
        return "text/css";
    }
    @Override
    protected String transform(String source) {
        return Less.compile(null,source,false);
    }
}
